package com.kasinf.sample.log.config;

import com.kasinf.framework.common.pojo.LoginUser;
import com.kasinf.framework.log.client.define.UserGetService;
import com.kasinf.framework.satoken.utils.LoginHelper;
import org.springframework.stereotype.Component;

/**
 * @Author : Kaiser
 * @Date: 2025/7/1  17:21
 */
@Component
public class UserGetServiceImpl implements UserGetService {

    @Override
    public LoginUser getUser() {
        return LoginHelper.getLoginUser();
    }
}
